import os

from dotenv import load_dotenv
from langchain.llms import Tongyi

load_dotenv("../ai.env")

api_key = os.getenv("DASHSCOPE_API_KEY")
llm = Tongyi(
    model_name="qwen-max",
    temperature=0,
    dashscope_api_key=api_key
)
response = llm.predict("介绍下你自己")
print(response)
